//将分钟化为年和日
//2.7
import java.util.Scanner;

public class ConvertMinutes{
    public static void main(String [] args){
        Scanner input= new Scanner (System.in);
        System.out.print("Enter the number of minutes:");
        int minutes = input.nextInt();
        int Remainder = minutes % (365*24*60);
        int year=minutes/(365*24*60);
        int Days =  Remainder /(24*60);
        System.out.println(minutes + "minutes is approximately " + year+ " years and "+ Days+" days");

    }
}